package com.cn.kehong.domain;

import com.google.common.collect.ImmutableMap;

import java.util.Date;
import java.util.Map;

public class ProductPackageJob {
    private String id;

    private String productPackageId;

    private String productCode;

    private String baoMachineCode;
    private String jobIndex;
    private String singleJizu;

    private String packageWeight;

    private String adjust;

    private String luTemp;

    private String fengkou;

    private String packageTime;

    private String packageUserName;

    private String pinkongUserName;

    private String checkCode;
    private String checkCodeTime;

    private String labelType;

    private String status;

    private Date createTime;

    private Date updateTime;

    private String lockPackage;

    private String packageRoom;
    private String printCode;

    private String jobStatus;
    private String fenjiId;

    private String startCode;

    public static final transient Map<String,String> DEVICESTAT = ImmutableMap.of("0","否","1","是");
    public String getAdjustCn() {
        return DEVICESTAT.get(getAdjust());
    }

    public static final transient Map<String,String> DEVICESTAT1 = ImmutableMap.of("0","不合格","1","合格");
    public String getFengkouCn() {
        return DEVICESTAT1.get(getFengkou());
    }

    public static final transient Map<String,String> DEVICESTAT2 = ImmutableMap.of("0","未完成","1","已完成");
    public String getJobStatusCn() {
        return DEVICESTAT2.get(getJobStatus());
    }

    public static final transient Map<String,String> DEVICESTAT3 = ImmutableMap.of("0","否","1","1是");
    public String getLockPackageCn() {
        return DEVICESTAT3.get(getLockPackage());
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getProductPackageId() {
        return productPackageId;
    }

    public void setProductPackageId(String productPackageId) {
        this.productPackageId = productPackageId == null ? null : productPackageId.trim();
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode == null ? null : productCode.trim();
    }

    public String getBaoMachineCode() {
        return baoMachineCode;
    }

    public void setBaoMachineCode(String baoMachineCode) {
        this.baoMachineCode = baoMachineCode == null ? null : baoMachineCode.trim();
    }

    public String getPackageWeight() {
        return packageWeight;
    }

    public void setPackageWeight(String packageWeight) {
        this.packageWeight = packageWeight == null ? null : packageWeight.trim();
    }

    public String getAdjust() {
        return adjust;
    }

    public void setAdjust(String adjust) {
        this.adjust = adjust == null ? null : adjust.trim();
    }

    public String getLuTemp() {
        return luTemp;
    }

    public void setLuTemp(String luTemp) {
        this.luTemp = luTemp == null ? null : luTemp.trim();
    }

    public String getFengkou() {
        return fengkou;
    }

    public void setFengkou(String fengkou) {
        this.fengkou = fengkou == null ? null : fengkou.trim();
    }

    public String getPackageTime() {
        return packageTime;
    }

    public void setPackageTime(String packageTime) {
        this.packageTime = packageTime == null ? null : packageTime.trim();
    }

    public String getPackageUserName() {
        return packageUserName;
    }

    public void setPackageUserName(String packageUserName) {
        this.packageUserName = packageUserName == null ? null : packageUserName.trim();
    }

    public String getPinkongUserName() {
        return pinkongUserName;
    }

    public void setPinkongUserName(String pinkongUserName) {
        this.pinkongUserName = pinkongUserName == null ? null : pinkongUserName.trim();
    }

    public String getCheckCode() {
        return checkCode;
    }

    public void setCheckCode(String checkCode) {
        this.checkCode = checkCode == null ? null : checkCode.trim();
    }

    public String getLabelType() {
        return labelType;
    }

    public void setLabelType(String labelType) {
        this.labelType = labelType == null ? null : labelType.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getLockPackage() {
        return lockPackage;
    }

    public void setLockPackage(String lockPackage) {
        this.lockPackage = lockPackage == null ? null : lockPackage.trim();
    }

    public String getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(String jobStatus) {
        this.jobStatus = jobStatus == null ? null : jobStatus.trim();
    }

    public String getFenjiId() {
        return fenjiId;
    }

    public void setFenjiId(String fenjiId) {
        this.fenjiId = fenjiId;
    }

    public String getPackageRoom() {
        return packageRoom;
    }

    public void setPackageRoom(String packageRoom) {
        this.packageRoom = packageRoom;
    }

    public String getJobIndex() {
        return jobIndex;
    }

    public void setJobIndex(String jobIndex) {
        this.jobIndex = jobIndex;
    }

    public String getSingleJizu() {
        return singleJizu;
    }

    public void setSingleJizu(String singleJizu) {
        this.singleJizu = singleJizu;
    }

    public String getPrintCode() {
        return printCode;
    }

    public void setPrintCode(String printCode) {
        this.printCode = printCode;
    }

    public String getCheckCodeTime() {
        return checkCodeTime;
    }

    public void setCheckCodeTime(String checkCodeTime) {
        this.checkCodeTime = checkCodeTime;
    }

    public String getStartCode() {
        return startCode;
    }

    public void setStartCode(String startCode) {
        this.startCode = startCode;
    }
}